package com.koron.order.overhaul.service;

import com.koron.order.overhaul.bean.entity.OverhaulOrderMajorFormBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderMajorFormQuery;
import com.koron.order.overhaul.bean.vo.OverhaulOrderMajorFormVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (OverhaulOrderMajorFormBean)表服务接口
 *
 * @author twcao
 * @since 2021-09-29 09:49:32
 */
public interface OverhaulOrderMajorFormService {

    OverhaulOrderMajorFormVO queryDetailById(SessionFactory factory, String formId);

    OverhaulOrderMajorFormBean queryById(SessionFactory factory, String formId);

    int saveOrUpdate(SessionFactory factory, List<OverhaulOrderMajorFormBean> beans);

    int deleteByOrderId(SessionFactory factory, String orderId);

    int hiddenByOrderId(SessionFactory factory, String orderId);

    List<OverhaulOrderMajorFormBean> queryList(SessionFactory factory, OverhaulOrderMajorFormQuery query);

}
